import {DefaultFooter} from "@ant-design/pro-layout";

const Footer: React.FC = () => {

    const defaultMessage = "也许谁又不见"
    const currentYear = new Date().getFullYear()

    return (
        <DefaultFooter
            style={{background: 'none'}}
            copyright={`${currentYear} ${defaultMessage}`}
            links={[
                {
                    key:'服务协议',
                    title:'服务协议',
                    href:"#",
                    blankTarget: true,
                },
                {
                    key:'隐私政策',
                    title:'隐私政策',
                    href:"#",
                    blankTarget: true,
                },
            ]}
        />
    )
}

export default Footer;